﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "TEMP_TODAY_MZ_BRXX", DisableSyncStructure = true)]
	public partial class TEMPTODAYMZBRXX {

		[JsonProperty, Column(DbType = "VARCHAR2(10 BYTE)", IsNullable = false)]
		public string 病人ID { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime 出生日期 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 初复诊 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 单位 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string 电话 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? 发病日期 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 个人史 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 观病史 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string 婚否状态 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 婚育史 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 既往史 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 家族史 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 就诊卡号 { get; set; }

		[JsonProperty]
		public sbyte? 门诊次数 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(20 BYTE)", IsNullable = false)]
		public string 门诊卡号 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(10 BYTE)")]
		public string 门诊科室编号 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)", IsNullable = false)]
		public string 门诊科室名称 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? 门诊日期 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(10 BYTE)")]
		public string 门诊医生编号 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(20 BYTE)")]
		public string 门诊医生名称 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 门诊诊断编号 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(200 BYTE)")]
		public string 门诊诊断名称 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 民族 { get; set; }

		[JsonProperty]
		public short? 年龄 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 其他 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(20 BYTE)")]
		public string 身份证号码 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)", IsNullable = false)]
		public string 姓名 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4 BYTE)")]
		public string 性别 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 月经史 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 职业 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string 主诉 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(1000 BYTE)")]
		public string 住址 { get; set; }

	}

}
